package com.changgou.goods.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.haha.goods.entity.Para;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Yang
 * @date 2020/11/7
 */
public interface ParaDao extends BaseMapper<Para> {
    List<Para> findPage(@Param(Constants.WRAPPER) QueryWrapper<Para> queryWrapper, @Param("offset") int offset, @Param("size") int size);

    List<Para> findByCategoryId(Integer id);
}
